package com.cloud.lan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.lan.api.dto.req.DelReq;
import com.cloud.lan.api.dto.req.LanUserFavouritesReq;
import com.cloud.lan.entity.base.BaseResponse;
import com.cloud.lan.entity.model.dataobject.LanUserFavouritesDO;

/**
 * <p>
 * 用户收藏表 服务类
 * </p>
 *
 * @author xyqierkang@163.com
 * @since 2022-05-01
 */
public interface ILanUserFavouritesService extends IService<LanUserFavouritesDO> {

    /**
     * 查询 用户收藏
     * @author ErKang
     * @param req
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2022/04/27 20:17
     */
    BaseResponse<Object> manageList(LanUserFavouritesReq req);

    /**
     * 新增 用户收藏
     * @author ErKang
     * @param req
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2022/04/27 20:18
     */
    BaseResponse<Object> add(LanUserFavouritesReq req);

    /**
     * 更新 用户收藏
     * @author ErKang
     * @param req
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2022/04/27 20:18
     */
    BaseResponse<Object> update(LanUserFavouritesReq req);

    /**
     * 删除 用户收藏
     * @author ErKang
     * @param req
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2022/04/27 20:18
     */
    BaseResponse<Object> delete(DelReq req);
}
